package redis

import (
	"fmt"

	"gin.andbridge/global"
	"github.com/go-redis/redis/v8"
)

type Redis struct {
	*redis.Client
}

func SetPrefix(key interface{}) string {
	return fmt.Sprintf("%s%s", global.RedisPrefix, key)
}
